import { FunctionComponent } from "react";
import { WidgetRegistryName } from ".";

type RegisterInfo = {
  components: FunctionComponent<any> & Partial<{ StyleConfig: any }>;
};

type AllRegisterInfo = Record<WidgetRegistryName, RegisterInfo>;

export type { AllRegisterInfo, RegisterInfo };
